package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.UserDep;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDepMapper {
    int deleteByPrimaryKey(String tid);

    int insert(UserDep record);

    int insertSelective(UserDep record);

    UserDep selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(UserDep record);

    int updateByPrimaryKey(UserDep record);

    List<String> selectListTidByUserTid(@Param("usertid") String usertid);

    List<String> selectListTiByDepTid(@Param("listTid") List<String> ListDepTid); //根据部门查询用户



}